package com.dyc.caradvertisting.ui.fmt.tab.store;

import com.dyc.caradvertisting.bean.req.RequestBean;
import com.dyc.caradvertisting.constants.Constant;

import java.util.Map;

import rx.Observable;


/**
 * Created by niejiahuan on 2016/5/31.
 */
public class GoodsPresenter extends GoodsContract.Presenter {


    @Override
    public Observable getDate(Map<String, String> params) {
        RequestBean requestBean=new RequestBean(Constant.REQ_GOODS_LIST,params.get("param"));
        return mModel.reqGoodsList(requestBean.getAct()+"",
                requestBean.getAct()+"",
                requestBean.getParam(),
                requestBean.getSign(),
                requestBean.getStrtime()+"");
    }

    @Override
    public void onStart() {

    }

    @Override
    public void reqGoodsList(String param) {
    }
}
